<template>
  <div class="base-root">
    <div class="item-box">
      <div class="icon-box">
        <i :class="iconClassName"></i>
      </div>
      <div class="text-box">
        {{title}}
      </div>
    </div>

  </div>
</template>

<script>
  export default {
    name: "TitleCard",
    props: {
      iconClassName: {
        type: String,
        default: 'el-icon-s-custom'
      },
      title: {
        type: String,
        default: ''
      }
    },
    computed: {

    },
    methods: {

    }
  };
</script>



<style>
  .item-box{
    display: inline-flex;
    align-items: center;
  }
  .icon-box{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #bec1f2;
    font-size: 32px;
    color: #4047d7;
  }
  .text-box{
    color: #333;
    font-size: 20px;
    font-weight: 600;
    padding-left: 10px;
    box-sizing: border-box;
  }
</style>
